package com.goods.business.service;

import com.github.pagehelper.PageInfo;
import com.goods.common.model.business.Product;
import com.goods.common.vo.business.ProductVO;

public interface ProductService {
    PageInfo<Product> findProductList(String pageNum, String pageSize, String name, String categoryId, String supplier, String status,String categorys);

    void add(ProductVO productVO);

    ProductVO edit(Long id);

    void update(ProductVO productVo);

    void delete(Long id);

    void remove(Long id);

    void publish(Long id);

    void back(Long id);
}
